{% extends 'mpa/common/base.html' %}
{% load static %}

{% block content %}
        <div class="wrapper">
            <div class="container">

                <!-- Page-Title -->
                <div class="row">
                    <div class="col-sm-12">
                        <div class="btn-group pull-right">
                            <button type="button" class="btn btn-primary dropdown-toggle waves-effect waves-light" data-toggle="dropdown" aria-expanded="false">Settings <span class="m-l-5"><i class="fa fa-cog"></i></span></button>
                            <ul class="dropdown-menu" role="menu">
                                <li><a href="#">Action</a></li>
                                <li><a href="#">Another action</a></li>
                                <li><a href="#">Something else here</a></li>
                                <li class="divider"></li>
                                <li><a href="#">Separated link</a></li>
                            </ul>
                        </div>
                        <h4 class="page-title">Flot Charts </h4>
                    </div>
                </div>


                <div class="row">
                    <div class="col-lg-6">
                        <div class="panel panel-border panel-primary">
                            <div class="panel-heading">
                                <h3 class="panel-title">Multiple Statistics</h3>
                            </div>
                            <div class="panel-body">
                                 <div id="website-stats" style="height: 320px" class="flot-chart"></div>
                            </div>
                        </div>
                    </div>

                    <div class="col-lg-6">
                        <div class="panel panel-border panel-primary">
                            <div class="panel-heading">
                                <h3 class="panel-title">Realtime Statistics</h3>
                            </div>
                            <div class="panel-body">
                                <div id="flotRealTime" style="height: 320px" class="flot-chart"></div>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="row">
                    <div class="col-lg-6">
                        <div class="panel panel-border panel-primary">
                            <div class="panel-heading">
                                <h3 class="panel-title">Donut Pie</h3>
                            </div>
                            <div class="panel-body">
                                <div id="donut-chart">
                                    <div id="donut-chart-container" class="flot-chart" style="height: 320px">
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="col-lg-6">
                        <div class="panel panel-border panel-primary">
                            <div class="panel-heading">
                                <h3 class="panel-title">pie Chart</h3>
                            </div>
                            <div class="panel-body">
                                <div id="pie-chart">
                                    <div id="pie-chart-container" class="flot-chart" style="height: 320px">
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                </div>



                <div class="row">
                    <div class="col-lg-12">
                        <div class="panel panel-border panel-primary">
                            <div class="panel-heading">
                                <h3 class="panel-title">Combine Statistics</h3>
                            </div>
                            <div class="panel-body">
                                <div id="combine-chart">
                                    <div id="combine-chart-container" class="flot-chart" style="height: 320px">
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>


                <!-- Footer -->
                <footer class="footer text-right">
                    <div class="container">
                        <div class="row">
                            <div class="col-xs-6">
                                2016 © Moltran.
                            </div>
                            <div class="col-xs-6">
                                <ul class="pull-right list-inline m-b-0">
                                    <li>
                                        <a href="#">About</a>
                                    </li>
                                    <li>
                                        <a href="#">Help</a>
                                    </li>
                                    <li>
                                        <a href="#">Contact</a>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </footer>
                <!-- End Footer -->

            </div>
            <!-- end container -->

        </div>
        <!-- end wrapper -->
{% endblock %}

{% block static %}

        <script src="{% static 'mpa/plugins/flot-chart/jquery.flot.js' %}"></script>
        <script src="{% static 'mpa/plugins/flot-chart/jquery.flot.time.js' %}"></script>
        <script src="{% static 'mpa/plugins/flot-chart/jquery.flot.tooltip.min.js' %}"></script>
        <script src="{% static 'mpa/plugins/flot-chart/jquery.flot.resize.js' %}"></script>
        <script src="{% static 'mpa/plugins/flot-chart/jquery.flot.pie.js' %}"></script>
        <script src="{% static 'mpa/plugins/flot-chart/jquery.flot.selection.js' %}"></script>
        <script src="{% static 'mpa/plugins/flot-chart/jquery.flot.stack.js' %}"></script>
        <script src="{% static 'mpa/plugins/flot-chart/jquery.flot.crosshair.js' %}"></script>
        <script src="{% static 'mpa/pages/jquery.flot.init.js' %}"></script>
{% endblock %}